projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c13bf7
)
x11: Avoid a critical in clipboard data transfer
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 May 2020 01:29:15 +0000
(21:29 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 May 2020 01:31:19 +0000
(21:31 -0400)
The handler we are calling here asserts that it gets
an interned string as mime_type. So give it one.
Fixes: #2736
gdk/x11/gdkselectionoutputstream-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkselectionoutputstream-x11.c
b/gdk/x11/gdkselectionoutputstream-x11.c
index cfacb13ac52540beb061107fead6159de1357150..bdd4c57d087f50819272ac17641edcfccbf72938 100644
(file)
--- a/
gdk/x11/gdkselectionoutputstream-x11.c
+++ b/
gdk/x11/gdkselectionoutputstream-x11.c
@@
-892,7
+892,7
@@
gdk_x11_selection_output_streams_request (GdkDisplay *display,
target,
8,
timestamp);
- handler (stream,
target
, user_data);
+ handler (stream,
mime_type
, user_data);
return TRUE;
}
}